import request from '@/router/axios';
let serverApi = '/api/dis-dashboard/';

export const getIdeaList = (current, size, params) => {
  return request({
    url: serverApi + 'message/list',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}

export const removeIdea = (ids) => {
  return request({
    url: serverApi + 'message/remove',
    method: 'post',
    params: {
      ids,
    }
  })
}
